package com.hengyue.system.domain.entity;

import com.hengyue.common.core.entity.CoreBaseDataEntity;
import jakarta.persistence.Entity;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


@Getter
@Setter
@Entity
public class SysConfig extends CoreBaseDataEntity {


    /** 参数键名 */
    private String configKey;


    /** 参数键值 */
    private String configValue;


    /** 系统内置（Y是 N否） */
    private String configType;

    private String remark;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("configId", getId())
                .append("configCode", getCode())
                .append("configName", getName())
                .append("configKey", getConfigKey())
                .append("configValue", getConfigValue())
                .append("configType", getConfigType())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }

}
